.back-button {
    position: fixed;
    top: 90px;  /* 在导航栏下方 */
    left: 20px;
    background-color: #4285f4;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    z-index: 99;  /* 低于导航栏 */
    transition: all 0.3s;
}

.back-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 景点详情容器 - 居中 */
.scenic-detail {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px;
    text-align: center;
}

/* 轮播图容器 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    text-align: left; /* 新增：内容左对齐 */
    padding-left: 0;  /* 新增：确保左侧无内边距 */
}

/* 轮播图主体 */
.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 300px;  /* 固定高度 */
}

/* 轮播图图片 - 缩小尺寸 */
.carousel img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: contain;  /* 保持图片比例 */
    padding: 0 10px;  /* 图片间添加间距 */
    box-sizing: border-box;
    aspect-ratio: 16/9;
}

/* 轮播图导航按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(128, 128, 128, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

/* 鼠标悬停时显示按钮 */
.carousel-container:hover .carousel-btn {
    opacity: 1;
}

/* 左侧按钮位置 */
.carousel-btn.left {
    left: 10px;
}

/* 右侧按钮位置 */
.carousel-btn.right {
    right: 10px;
}

/* 介绍栏自动换行样式 */
.description {
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* 调整地址和介绍标题样式 */
.description p {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    line-height: 1.6;
}

.description p strong {
    margin-bottom: 8px;  /* 标题与内容间距 */
    align-self: flex-start; /* 标题左对齐 */
}
